#ifndef __EEDIT_SYNTAX__
#define __EEDIT_SYNTAX__

/* FIXME: The whole shabang */
#define ITALIC 0x01
#define BOLD 0x02

typedef struct{
    struct syntax_token_t* prev;
    struct syntax_token_t* next;
    int start;  /* Cursor position */
    int stop;   /* "" */
    int modification;   /* Text formatting */
    int colour;         /* Text colour */
}syntax_token_t;

syntax_token_t* getSyntax(char * data, char * language);

void delSyntax(syntax_token_t*);

#endif
